package org.lanqiao.dxzf.service.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.lanqiao.dxzf.entity.Service;
import org.lanqiao.dxzf.mapper.service.ServiceMapper;
import org.lanqiao.dxzf.service.service.ServiceService;


@org.springframework.stereotype.Service("serviceService")
public class ServiceServiceImpl implements ServiceService {
	@Resource
	private ServiceMapper serviceDao;

	public boolean insertService(Service service) {
		return serviceDao.insertService(service);
	}

	public Integer selectTotal() {
		// TODO Auto-generated method stub
		return serviceDao.selectTotal();
	}
	
	public List<Service> selectFenye(Service service) {
		// TODO Auto-generated method stub
		return serviceDao.selectFenye(service);
	}

	public Service selectUpdate(Integer sid) {
		// TODO Auto-generated method stub
		return serviceDao.selectUpdate(sid);
	}

	public boolean updateService(Service service) {
		// TODO Auto-generated method stub
		return serviceDao.updateService(service);
	}

	public boolean updateDelete(Integer sid) {
		// TODO Auto-generated method stub
		return serviceDao.updateDelete(sid);
	}

	public boolean updateStart(Integer sid) {
		// TODO Auto-generated method stub
		return serviceDao.updateStart(sid);
	}

	public boolean updateStop(Integer sid) {
		// TODO Auto-generated method stub
		return serviceDao.updateStop(sid);
	}
}

